﻿<UserControl x:Class="ConfigurationSetupUtility.Screens.SetupInProgressScreen"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             mc:Ignorable="d" 
             d:DesignHeight="300" d:DesignWidth="300" MaxWidth="{Binding RelativeSource={RelativeSource FindAncestor, AncestorType=FrameworkElement, AncestorLevel=1}, Path=ActualWidth}">
    <DockPanel>
        <Label Content="Setup in progress" Margin="10" HorizontalContentAlignment="Center" DockPanel.Dock="Top" FontWeight="Bold" FontSize="16" />
        <Grid DockPanel.Dock="Bottom">
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto" />
                <RowDefinition />
                <RowDefinition Height="Auto" />
            </Grid.RowDefinitions>
            <TextBlock Text="Please wait while the utility initializes your configuration." Margin="20,0" TextAlignment="Center" TextWrapping="Wrap" />
            <TextBox Name="m_setupStatusTextBox" TextWrapping="WrapWithOverflow" Margin="20,10" AcceptsReturn="True" VerticalScrollBarVisibility="Visible" IsReadOnly="True" Grid.Row="1" />
            <ProgressBar Grid.Row="2" Height="20" Margin="20,10" Name="m_progressBar" />
        </Grid>
    </DockPanel>
</UserControl>
